//*****************************************************************************
//
// ABEC3 Solving File
// Project: Speaker Cabinet SP38 Baffle
//
//*****************************************************************************

// Sealed Enclosure

File="Nodes.txt"

 
SubDomain_Properties 'Enclosure'
  SubDomain=1
  ElType=Interior           

SubDomain_Properties 'Exterior'
  SubDomain=3
  ElType=Exterior            // Radiation to infinity

Infinite_Baffle
  SubDomain=3
  Position=z                 // Floor reflection

Elements "Enclosure-Interior"
  RefNodes="NF"
  SubDomain=1
  101   12201  12204  12203  12202  // rear wall
  102   12001  12201  12202  12002  // top wall
  103   12004  12003  12203  12204  // bottom wall
  104   12002  12202  12203  12003  // side wall

Elements "Enclosure-Exterior"
  RefNodes="NF"
  SubDomain=3
  SwapNormals=true
  101   2201  2204  2203  2202  // rear wall
  102   2001  2201  2202  2002  // top wall
  // 103   2004  2003  2203  2204  // bottom wall (remove because of IB)
  104   2002  2202  2203  2003  // side wall


WallImpedance "Enclosure Damping"
  RefElements="Enclosure-Interior"
  ImpType=Damping
  Value=0.01


// Front of cabinet, which belongs to exterior boundaries.
Baffle "Exterior"
  Subdomain=3
  EdgeLength=70mm,30mm
  Vertices=2004,2003,2002,2001  "NF"
  101  Ref="Cone Front"   x=0  y=413.5mm

// Rear of cabinet-front-baffle, which belongs to cabinet boundaries.
// Note, Vertices= makes this Baffle to show also in positive x-direction,
// i.e. the Normal of the vertices are pointing in x-direction.
// In this way local coordinates are similar to the front Baffle, and
// the Diaphragm with Side=rear is aligned with the front Diaphragm.
Baffle "Interior"
  Subdomain=1
  EdgeLength=70mm,30mm
  Vertices=12004,12003,12002,12001  "NF"
  Side=Rear
  101  Ref="Cone rear"    x=0mm  y=401.5mm


Diaphragm  "Cone front"
  Side=Front                   // Creates elements for the front side of the diaphragm
  DrvGroup=1001                // Driving group link to observation stage
  SubDomain=3                  // Front side belongs to sub-domain 3
  EdgeLength=68mm
  dD=340mm                     // Diameter of cone
  tD1=70mm                     // Inner depth of cone to base of dust cap
  dD1=100mm                    // Diameter of dust cap
  hD1=30mm                     // Height of dust cap
  Simple=true                  // Simple model
  // Because Simple=true following parameters are ignored
  //Ws=10mm                    // Width of outer suspension
  hD2=100mm                    // Height of total cone on the outside
  dVC=50mm                     // Diameter of voice coil
  hVC=5mm                      // Height of voice coil
  dM=200mm                     // Diameter of magnet
  hM=30mm                      // Height of magnet

Diaphragm  "Cone rear"
  Side=Rear                    // This is the rear side of the diaphragm
  DrvGroup=1002                // Driving group link to observation stage
  SubDomain=1                  // This side belongs to sub-domain SubDomain=1
  RefDiaphragm="Cone front"    // Inherite from "Cone front"



